package com.qj.yantaishan.common.enums;

/**
 * 自定义查询的枚举
 */
public enum WhereEnum {

    EQ(1),// =
    NE(2),//<>
    LIKE(3),// likt %%
    NOT_LIKE(4), //not like %%
    GT(5), // >
    GE(6),// >=
    LT(7),// <
    LE(8),// <=
    LIKE_LEFT(9), // like %x
    LIKE_RIGHT(10),// like x%
    IS_NULL(11),// xx is null
    IS_NOT_NULL(12),// xx is not null
    IN(13),// in ()
    NOT_IN(14),// not in ()
    ORDER_BY_ASE(15),// order by asc
    ORDER_BY_DESC(16),// order by desc
    SELECT(17), // select xx ,xx 只查询某些字段
    ;

    private final int value;

    WhereEnum(int value) {
        this.value = value;
    }

    public int value() {
        return this.value;
    }


}
